//package com.amita.ez.service;
//
//import com.amita.ez.entity.SysMenu;
//import com.amita.ez.vo.MenuVO;
//import org.mapstruct.Mapper;
//import org.mapstruct.Mapping;
//import org.mapstruct.Mappings;
//import org.mapstruct.factory.Mappers;
//import org.springframework.stereotype.Component;
//
//@Component
//@Mapper(componentModel = "spring")
//public interface StructUtil {
//
////    StructUtil INST = Mappers.getMapper(StructUtil.class);
//
//
////    /**
////     * @param
////     * @return
////     * @description 用户转换 RegisterDTO转CustomEntity
////     * @author xuFan
////     * @date 2020/3/28
////     * DTO实体是前端传来的对象，Entity是数据库对应的字段实体对象
////     */
////    @Mappings({
////            @Mapping(target = "customId", source = "customId"),
////            @Mapping(target = "type", source = "type"),
////            @Mapping(target = "loginName", source = "loginName"),
////            @Mapping(target = "loginPwd", source = "loginPwd"),
////            @Mapping(target = "customMobile", source = "customMobile"),
////            @Mapping(target = "headPicture", source = "headPicture"),
////            @Mapping(target = "nickname", source = "nickname"),
////    })
////    Custom convert(RegisterDTO registerDTO);
//
//
//    MenuVO convert(SysMenu sysMenu);
//
//}
